package com.zh.risk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * code is far away from bug with the animal protecting
 * ┏┓　　　┏┓
 * ┏┛┻━━━┛┻┓
 * ┃　　　　　　　┃
 * ┃　　　━　　　┃
 * ┃　┳┛　┗┳　┃
 * ┃　　　　　　　┃
 * ┃　　　┻　　　┃
 * ┃　　　　　　　┃
 * ┗━┓　　　┏━┛
 * 　　┃　　　┃神兽保佑
 * 　　┃　　　┃代码无BUG！
 * 　　┃　　　┗━━━┓
 * 　　┃　　　　　　　┣┓
 * 　　┃　　　　　　　┏┛
 * 　　┗┓┓┏━┳┓┏┛
 * 　　　┃┫┫　┃┫┫
 * 　　　┗┻┛　┗┻┛
 *
 * @Description: 风控策略实体信息
 * @Author: Liard
 * @Create in: 2020/8/26 9:40
 * @Version: 1.0.1
 */
@ApiModel(value = "风控策略实体信息")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("elec_risk_strategy")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Strategy extends Model<Strategy> {
    private static final long serialVersionUID = 4947851071456601281L;
    @ApiModelProperty(value = "主键", name = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "策略名称", name = "name")
    private String name;
    @ApiModelProperty(value = "备注信息", name = "remark")
    private String remark;
    @ApiModelProperty(value = "警戒分值", name = "warnScore")
    private String warnScore;
    @ApiModelProperty(value = "拒绝分值", name = "refuseScore")
    private String refuseScore;
    @ApiModelProperty(value = "创建时间", name = "createDate")
    private String createDate;

}
